const express = require('express')
const cors = require('cors')
const index = require('./router/index')
const app = express()
app.use(express.json())
app.use(cors())
app.use(index)



app.listen(8000,()=>{
    console.log('Server is running at http://localhost:8000');
    
})